package com.ruicar.afs.cloud.common.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author infinity
 * @version 1.0
 * @date 2020/8/10 15:50
 */
@Data
public class AllocatedRentVo {
    @ApiModelProperty("合同号码")
    private String contractNo;
    @ApiModelProperty("期数")
    private Integer termNo;
    @ApiModelProperty("应还款日期")
    private Date dueDate;
    @ApiModelProperty("月供金额")
    private BigDecimal receivableRent;
    @ApiModelProperty("本金")
    private BigDecimal receivablePrinciple;
    @ApiModelProperty("利息")
    private BigDecimal receivableInterest;
    @ApiModelProperty("已还金额")
    private BigDecimal amountPaid;
    @ApiModelProperty("本次已还款金额")
    private BigDecimal  repaymentAmount;
    @ApiModelProperty("已还本金")
    private BigDecimal actualPrinciple = BigDecimal.ZERO;
    @ApiModelProperty("已还利息")
    private BigDecimal  actualInterest = BigDecimal.ZERO;
}
